<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $keywords; ?>">
<meta name="description" content="<?php echo $description; ?>">
<meta name="author" content="David Detry & Johan Vandeplas">
<meta name="generator" content="Design by David Detry Coded by Johan Vandeplas">

<title><?php echo $page_title; ?></title>

<?php echo (isset($css))?$css:""; ?>
<?php echo (isset($js))?$js:""; ?>

</head>

<body>
    <div id="main-container">
        <div id="main-banner"></div>
        <div id="main-menu">
        	<ul class="nav">
            	<?php if(isset($mainMenu)) foreach($mainMenu as $item){ ?>
            	<li><a href="<?php echo $item['url']; ?>"><?php echo $item['name']; ?></a></li>
                <?php } ?>
            </ul>
        </div>
        <div id="sub-menu">
        	<ul class="nav">
            	<?php if(isset($subMenu)) foreach($subMenu as $item){ ?>
            	<li><a href="<?php echo $item['url']; ?>"><?php echo $item['name']; ?></a><?php if(isset($item['subMenu'])){ ?>
					<ul style="display: block; opacity: 1; ">
                    <?php foreach($item['subMenu'] as $item2){ ?>
                        <li><a href="<?php echo $item2['url']; ?>"><?php echo $item2['name']; ?></a></li>
                    <?php }?>
                    </ul>
				<?php }?></li>
                <?php } ?>
            </ul>
        </div>
        <div id="body">
        	<div id="bodyContent">